libxc: initalize stdio loggers' progress_last_percent values to 0
authorMatthew Daley <mattjd@gmail.com>
Wed, 30 Oct 2013 07:51:46 +0000 (20:51 +1300)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 31 Oct 2013 21:55:51 +0000 (21:55 +0000)
commit492da27a3edd9064937007d5d373ffc4f9bc6ff5
treec452507e94e8400ae261d3d0f203c6475031d8e5
parente1fde2accefe3e1e47f7769261ef4626db2ce9e4
libxc: initalize stdio loggers' progress_last_percent values to 0

...otherwise they are undefined in the first progress callback.

Coverity-ID: 1056055
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xtl_logger_stdio.c